package edu.sctu.xialei.june.day20150601one;

/**
 * Created by Administrator on 6/2/2015.
 */
public class Thread2 extends Thread{
    String threadName ;

    public Thread2(String threadName){
        this.threadName = threadName;

    }

    public void run(){
        System.out.println("****** " + threadName + " 开始了******");
        for (int i = 0; i < 10; i++) {
            System.out.println(threadName + i);
        }
    }

}
